put the warning explaining the validation error in front of the
authorHavoc Pennington <hp@redhat.com>
Wed, 28 Nov 2001 20:42:15 +0000 (20:42 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Wed, 28 Nov 2001 20:42:15 +0000 (20:42 +0000)
2001-11-28  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c (gtk_text_view_paint): put the warning
explaining the validation error in front of the G_BREAKPOINT

* gtk/gtkrange.c (gtk_range_adjustment_value_changed): call
process updates with include_children = FALSE instead of TRUE, so
we redraw the range only, not the whole darn window.  Making
GtkRange a NO_WINDOW widget had weirdly caused the text widget
Trace/breakpoint trap bug to become much easier to trigger.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkrange.c
gtk/gtktextview.c

index 3e7d52b1ccc01c69e0dbc65b303972d1c74e042a..d78968dc691e5e93a76bde8e99d6af63742fde66 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2001-11-28  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_paint): put the warning
+       explaining the validation error in front of the G_BREAKPOINT
+
+       * gtk/gtkrange.c (gtk_range_adjustment_value_changed): call
+       process updates with include_children = FALSE instead of TRUE, so
+       we redraw the range only, not the whole darn window.  Making
+       GtkRange a NO_WINDOW widget had weirdly caused the text widget
+       Trace/breakpoint trap bug to become much easier to trigger.
+
 Wed Nov 28 14:12:03 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/Makefile.am (gdk_public_h_sources): Remove reference
index 3e7d52b1ccc01c69e0dbc65b303972d1c74e042a..d78968dc691e5e93a76bde8e99d6af63742fde66 100644 (file)
@@ -1,3 +1,14 @@
+2001-11-28  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_paint): put the warning
+       explaining the validation error in front of the G_BREAKPOINT
+
+       * gtk/gtkrange.c (gtk_range_adjustment_value_changed): call
+       process updates with include_children = FALSE instead of TRUE, so
+       we redraw the range only, not the whole darn window.  Making
+       GtkRange a NO_WINDOW widget had weirdly caused the text widget
+       Trace/breakpoint trap bug to become much easier to trigger.
+
 Wed Nov 28 14:12:03 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/Makefile.am (gdk_public_h_sources): Remove reference
index 3e7d52b1ccc01c69e0dbc65b303972d1c74e042a..d78968dc691e5e93a76bde8e99d6af63742fde66 100644 (file)
@@ -1,3 +1,14 @@
+2001-11-28  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_paint): put the warning
+       explaining the validation error in front of the G_BREAKPOINT
+
+       * gtk/gtkrange.c (gtk_range_adjustment_value_changed): call
+       process updates with include_children = FALSE instead of TRUE, so
+       we redraw the range only, not the whole darn window.  Making
+       GtkRange a NO_WINDOW widget had weirdly caused the text widget
+       Trace/breakpoint trap bug to become much easier to trigger.
+
 Wed Nov 28 14:12:03 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/Makefile.am (gdk_public_h_sources): Remove reference
index 3e7d52b1ccc01c69e0dbc65b303972d1c74e042a..d78968dc691e5e93a76bde8e99d6af63742fde66 100644 (file)
@@ -1,3 +1,14 @@
+2001-11-28  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_paint): put the warning
+       explaining the validation error in front of the G_BREAKPOINT
+
+       * gtk/gtkrange.c (gtk_range_adjustment_value_changed): call
+       process updates with include_children = FALSE instead of TRUE, so
+       we redraw the range only, not the whole darn window.  Making
+       GtkRange a NO_WINDOW widget had weirdly caused the text widget
+       Trace/breakpoint trap bug to become much easier to trigger.
+
 Wed Nov 28 14:12:03 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/Makefile.am (gdk_public_h_sources): Remove reference
index 3e7d52b1ccc01c69e0dbc65b303972d1c74e042a..d78968dc691e5e93a76bde8e99d6af63742fde66 100644 (file)
@@ -1,3 +1,14 @@
+2001-11-28  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_paint): put the warning
+       explaining the validation error in front of the G_BREAKPOINT
+
+       * gtk/gtkrange.c (gtk_range_adjustment_value_changed): call
+       process updates with include_children = FALSE instead of TRUE, so
+       we redraw the range only, not the whole darn window.  Making
+       GtkRange a NO_WINDOW widget had weirdly caused the text widget
+       Trace/breakpoint trap bug to become much easier to trigger.
+
 Wed Nov 28 14:12:03 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/Makefile.am (gdk_public_h_sources): Remove reference
index 3e7d52b1ccc01c69e0dbc65b303972d1c74e042a..d78968dc691e5e93a76bde8e99d6af63742fde66 100644 (file)
@@ -1,3 +1,14 @@
+2001-11-28  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_paint): put the warning
+       explaining the validation error in front of the G_BREAKPOINT
+
+       * gtk/gtkrange.c (gtk_range_adjustment_value_changed): call
+       process updates with include_children = FALSE instead of TRUE, so
+       we redraw the range only, not the whole darn window.  Making
+       GtkRange a NO_WINDOW widget had weirdly caused the text widget
+       Trace/breakpoint trap bug to become much easier to trigger.
+
 Wed Nov 28 14:12:03 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/Makefile.am (gdk_public_h_sources): Remove reference
index 3e7d52b1ccc01c69e0dbc65b303972d1c74e042a..d78968dc691e5e93a76bde8e99d6af63742fde66 100644 (file)
@@ -1,3 +1,14 @@
+2001-11-28  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_paint): put the warning
+       explaining the validation error in front of the G_BREAKPOINT
+
+       * gtk/gtkrange.c (gtk_range_adjustment_value_changed): call
+       process updates with include_children = FALSE instead of TRUE, so
+       we redraw the range only, not the whole darn window.  Making
+       GtkRange a NO_WINDOW widget had weirdly caused the text widget
+       Trace/breakpoint trap bug to become much easier to trigger.
+
 Wed Nov 28 14:12:03 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/Makefile.am (gdk_public_h_sources): Remove reference
index 06a261a0768b28007d1f7aaa919670894fdfc78e..d2ead16d1ff60fec529e5be1176fe996b6922cbd 100644 (file)
@@ -1446,7 +1446,7 @@ gtk_range_adjustment_value_changed (GtkAdjustment *adjustment,
   gtk_widget_queue_draw (GTK_WIDGET (range));
   /* This is so we don't lag the widget being scrolled. */
   if (GTK_WIDGET_REALIZED (range))
-    gdk_window_process_updates (GTK_WIDGET (range)->window, TRUE);
+    gdk_window_process_updates (GTK_WIDGET (range)->window, FALSE);
   
   /* Note that we don't round off to range->round_digits here.
    * that's because it's really broken to change a value
index ae03661bef556aebc5e5f0ee86c0f4fa8e271155..f5595ecee12acf76a0ba24e7771db7fbb784559b 100644 (file)
@@ -3719,8 +3719,8 @@ gtk_text_view_paint (GtkWidget      *widget,
   
   if (!text_view->onscreen_validated)
     {
+      g_warning (G_STRLOC ": somehow some text lines were modified or scrolling occurred since the last validation of lines on the screen - this is a known bug, no need to report.");
       G_BREAKPOINT ();
-      g_warning (G_STRLOC ": somehow some text lines were modified or scrolling occurred since the last validation of lines on the screen");
     }
   
 #if 0